package com.atguigu.gulimall.order.feign;

import com.atguigu.common.utils.R;
import com.atguigu.common.vo.MemberRespVo;
import com.atguigu.gulimall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient("gulimall-member")
public interface MemberClientService {

    @RequestMapping("member/memberreceiveaddress/getAddress")
    public List<MemberAddressVo> getAddress(@RequestParam("memberId") Long memberId);
}
